<?php if (!defined('THINK_PATH')) exit(); /*a:1:{s:87:"C:\myphp_www\PHPTutorial\WWW\OneBase\public/../app/admin\view\message\message_list.html";i:1545964297;}*/ ?>
<div class="box">
  <div class="box-header">

    <ob_link><a class="btn" href="<?php echo url('messageAdd'); ?>"><i class="fa fa-plus"></i> 新 增</a></ob_link>
    
  </div>

  <div class="box-body table-responsive">
    <table  class="table table-bordered table-hover">

      <tr>
        <th>姓名</th>
        <th>性别</th>
        <th>出生年月</th>
      </tr>
      <?php if(!(empty($list) || (($list instanceof \think\Collection || $list instanceof \think\Paginator ) && $list->isEmpty()))): ?>
      <tbody>
        <?php if(is_array($list) || $list instanceof \think\Collection || $list instanceof \think\Paginator): $i = 0; $__LIST__ = $list;if( count($__LIST__)==0 ) : echo "" ;else: foreach($__LIST__ as $key=>$vo): $mod = ($i % 2 );++$i;?>
        <tr>
          <td><?php echo $vo['name']; ?></td>
          <td><?php echo $vo['sex']; ?></td>
          <td><?php echo $vo['date']; ?></td>
        </tr>
        <?php endforeach; endif; else: echo "" ;endif; ?>
      </tbody>
      <?php endif; ?>

      <tr>
        <th>班级</th>
        <th>年级</th>
        <th>入学时间</th>
      </tr>
      <?php if(!(empty($list) || (($list instanceof \think\Collection || $list instanceof \think\Paginator ) && $list->isEmpty()))): ?>
      <tbody>
        <?php if(is_array($list) || $list instanceof \think\Collection || $list instanceof \think\Paginator): $i = 0; $__LIST__ = $list;if( count($__LIST__)==0 ) : echo "" ;else: foreach($__LIST__ as $key=>$vo): $mod = ($i % 2 );++$i;?>
        <tr>
         <td><?php echo $vo['class']; ?></td>
         <td><?php echo $vo['grade']; ?></td>
         <td><?php echo $vo['date1']; ?></td>
       </tr>
       <?php endforeach; endif; else: echo "" ;endif; ?>
     </tbody>
     <?php endif; ?>

     <tr>
      <th>身份证号</th>
      <th>联系电话</th>

    </tr>
    <?php if(!(empty($list) || (($list instanceof \think\Collection || $list instanceof \think\Paginator ) && $list->isEmpty()))): ?>
    <tbody>
      <?php if(is_array($list) || $list instanceof \think\Collection || $list instanceof \think\Paginator): $i = 0; $__LIST__ = $list;if( count($__LIST__)==0 ) : echo "" ;else: foreach($__LIST__ as $key=>$vo): $mod = ($i % 2 );++$i;?>
      <tr>
        <td><?php echo $vo['idnumber']; ?></td>
        <td><?php echo $vo['phone']; ?></td>

      </tr>
      <?php endforeach; endif; else: echo "" ;endif; ?>
    </tbody>
    <?php endif; ?>


 <tr>

  <th>创建时间</th>
  <th>状态</th>
  <th>操作</th>
</tr>
<?php if(!(empty($list) || (($list instanceof \think\Collection || $list instanceof \think\Paginator ) && $list->isEmpty()))): ?>
<tbody>
  <?php if(is_array($list) || $list instanceof \think\Collection || $list instanceof \think\Paginator): $i = 0; $__LIST__ = $list;if( count($__LIST__)==0 ) : echo "" ;else: foreach($__LIST__ as $key=>$vo): $mod = ($i % 2 );++$i;?>
  <tr>
    <td><?php echo $vo['create_time']; ?></td>
    <td><?php echo $vo['status_text']; ?></td>
    <td class="col-md-2 text-center">
      <ob_link><a href="<?php echo url('messageEdit', array('id' => $vo['id'])); ?>" class="btn"><i class="fa fa-edit"></i> 编 辑</a></ob_link>
      &nbsp;
      <ob_link><a class="btn confirm ajax-get"  href="<?php echo url('messageDel', array('id' => $vo['id'])); ?>"><i class="fa fa-trash-o"></i> 删 除</a></ob_link>
    </td>
  </tr>
  <?php endforeach; endif; else: echo "" ;endif; ?>
</tbody>
<?php else: ?>
<tbody><tr class="odd"><td colspan="7" class="text-center" valign="top"><?php echo config('empty_list_describe'); ?></td></tr></tbody>
<?php endif; ?>
</table>
</div>

<div class="box-footer clearfix text-center">
  <?php echo $list->render(); ?>
</div>

</div>